<%--
  Created by IntelliJ IDEA.
  User: jiangjingbo
  Date: 2022/5/27
  Time: 15:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
    <title>Title</title>
</head>
<%
    String parameter = request.getParameter("id");
    request.getSession().setAttribute("id",parameter);
%>
<body>
<form action="update?method=UpdateOne&id=${id}" method="post">
    <table>
        <tr>
            <td>姓名</td>
            <td><input type="text" name="name"></td>
        </tr>
        <tr>
            <td>生日</td>
            <td><input type="text" name="birthday"></td>
        </tr>
        <tr>
            <td>性别</td>
            <td><input type="text" name="gender"></td>
        </tr>
        <tr>
            <td>职业</td>
            <td><input type="text" name="career"></td>
        </tr>
        <tr>
            <td>住所</td>
            <td><input type="text"name="address"></td>
        </tr>
        <tr>
            <td>手机号</td>
            <td><input type="text" name="mobile"></td>
        </tr>
        <tr>
            <td>上传图片</td>
            <td><input type="file" name="file"></td>
        </tr>
        <tr>
            <td></td>
            <td><input type="submit" value="提交"></td>
        </tr>
    </table>
</form>
</body>
</html>
